package cn.ctrl;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JFrame;

import cn.bean.Film_info;
import cn.view.MainView;

public class AdminFilmCtrl implements ActionListener  {
	private Film_info film;
	private JFrame frame;
	
	
	
	
	public AdminFilmCtrl(Film_info film, JFrame frame) {
		super();
		this.film = film;
		this.frame = frame;
	}
	@Override
	public void actionPerformed(ActionEvent e) {
		System.out.print(film.getName());
		
		MainView mv = new MainView();
		
		mv.getNewFilmButtonList();
		mv.getFilmInfo(0, film, null);
		
	}

}
